<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的心意</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="page-transition"></div>
    <div class="hearts-container" id="heartsContainer"></div>
    <nav class="main-nav">
        <a href="home.html" class="nav-link">首页</a>
        <a href="memories.html" class="nav-link">我们的回忆</a>
        <a href="confession.html" class="nav-link active">我的心意</a>
    </nav>

    <div class="hearts-container"></div>
    <div class="content">
        <h1 class="title">给特别的你</h1>
        <div class="message">
            <p>在茫茫人海中遇见你</p>
            <p>是我生命中最美好的意外</p>
            <p>你的笑容如阳光般温暖</p>
            <p>照亮了我整个世界</p>
        </div>
        <div class="input-area">
            <textarea id="loveInput" placeholder="在这里输入你想说的话..."></textarea>
            <button id="sendBtn">发送心意</button>
        </div>
        <div class="heart-btn">❤️</div>
        
        <!-- 互动选择 -->
        <div class="interactive-choices">
            <button class="choice-btn" data-response="yes">我愿意 ❤️</button>
        </div>
        
        <!-- 恐龙跳一跳游戏 -->
        <div class="game-container" id="dinoGame">
            <h3>小恐龙跳一跳</h3>
            <div class="game-area">
                <div class="dino" id="dino"></div>
                <div class="obstacle" id="obstacle"></div>
            </div>
            <div class="game-controls">
                <button id="startGame">开始游戏</button>
                <div class="score">分数: <span id="score">0</span></div>
            </div>
        </div>
    </div>

    <!-- 回应模态框 -->
    <div class="response-modal" id="responseModal">
        <div class="modal-content">
            <h2 id="modalTitle">谢谢你！</h2>
            <p id="modalMessage">你的回应让我心跳加速...</p>
            <button id="closeModal">关闭</button>
        </div>
    </div>

    <div class="music-control">
        <button id="musicToggle">🎵 播放音乐</button>
    </div>

    <script src="navigation.js"></script>
    <script src="music.js"></script>
    <script src="script.js"></script>
</body>
</html>